<template>
  <div>
    <el-card>
      {{ flag }}
    </el-card>
    <el-card>
      <iframe
        id="inlineFrameExample"
        title="Inline Frame Example"
        width="1000"
        height="500"
        src="https://juejin.cn/"
      >
      </iframe>
    </el-card>
  </div>
</template>

<script>
export default {
  props: {
    flag: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  watch: {
    flag: {
      handler (newVal, oldVal) {
        console.log('变化了')
      },
      immediate: true,
      deep: true
    }
  }
}
</script>

<style>
</style>
